package org.smile.design.decorator.homework;

import lombok.Data;

@Data
public class Leave {
    private String name;
    private Integer number;
    private String reason;

    public void approval(){
        //.....
        // A -> B -> P-> C -> D
        System.out.println("完成请假流程");
    }
}
